#!/usr/bin/make
# $Id: Makefile,v 1.2 2004/09/27 09:22:58 poine Exp $

#
BINS		=							\
	heli-3d								\

#
# Possible models:
# 0	Pod-n-boom
#
MODEL		= 0


#
# heli-3d is the OpenGL 3D program that displays the model
# universe and the helicopter state
#
heli-3d.srcs	=							\
	simview.cpp							\
	heli-3d.cpp							\
	graphics.cpp							\
	viewpoint.cpp							\

graphics.cpp.cflags	=						\
	-DMODEL="$(MODEL)"						\

heli-3d.libs	=							\
	libmat.a							\
	libstate.a							\

heli-3d.ldflags	=							\
	$(GL_LDFLAGS) -lGL -lGLU					\

heli-3d.cflags	=							\
	$(GL_CFLAGS)							\



include ../Makefile.common

simview.cpp: simview.fl


